<?php

$this->title="有试吗-有事没事来试试";
?>
<?php $this->beginBlock('css');?>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="<?=Yii::getAlias('@static')?>/wap/liketry/css/user.css">
<?php $this->endBlock();?>


	<header>
	  <div class="header-left"  onclick="window.history.go(-1)"><span class="icon icon-arrow-left"></span></div>
	  <h1>手机绑定</h1>
	  <!--<div class="header-right"><span class="icon icon-home"></span></div>-->
	</header>
	<div class="user-phone">
		<div class="input-phone"><input type="tel" maxlength="11"  name="phone" id="phone" placeholder="输入手机号" pattern="^1[345678][0-9]{9}$" />
			<p class="error">请输入正确的手机号</p>
		</div>
		<div class="input-code"><input type="tel" maxlength="6"  id="code" name="code" placeholder="输入验证码" />
			<a id="getCode" class="on">获取验证码<em></em></a>
			<p class="error">请输入正确的验证码</p>
		</div>

		<div class="submit grey">绑定手机</div>

	</div>


<?php $this->beginBlock('js');?>
<script src="<?=Yii::getAlias('@static')?>/wap/common/js/zepto.min.js"></script>
<script src="<?=Yii::getAlias('@static')?>/wap/common/js/fastclick.min.js"></script>
<script src="<?=Yii::getAlias('@static')?>/wap/common/js/king.wap.js"></script>
<script src="<?=Yii::getAlias('@static')?>/wap/liketry/js/user-phone.js"></script>
<script type="text/javascript">
	var sendCodeUrl = "<?=Yii::$app->urlManager->createUrl(Yii::$app->controller->id . '/send-code')?>";
	var bindCellUrl = "<?=Yii::$app->urlManager->createUrl(Yii::$app->controller->id . '/bind-cell')?>";
	var userCenterUrl = "<?=Yii::$app->urlManager->createUrl(Yii::$app->controller->id . '/index')?>";
</script>
<?php $this->endBlock();?>
